package com.example.studykotlin.kotlin_actual_combat.annotation

import androidx.annotation.IntDef
import com.example.studykotlin.kotlin_actual_combat.annotation.EventMode.Companion.ADVANCED
import com.example.studykotlin.kotlin_actual_combat.annotation.EventMode.Companion.ART
import com.example.studykotlin.kotlin_actual_combat.annotation.EventMode.Companion.MAIN
import com.example.studykotlin.kotlin_actual_combat.annotation.EventMode.Companion.MY_KOTLIN

@Retention(AnnotationRetention.SOURCE)
@IntDef(flag = true,value = [MAIN, MY_KOTLIN, ADVANCED, ART])
annotation class EventMode {
    companion object {
        const val MAIN = 0
        const val MY_KOTLIN = 1
        const val ADVANCED = 2
        const val ART = 3
    }
}